package delegate;

/**
 * Created by liuweijie on 2018/4/25.
 */
public class ProjectManager {
    private IProgrammer target;

    private ProjectManager(){};

    public ProjectManager(IProgrammer target){
        this.target=target;
    }

    public void beginDoing(){
        System.out.println("我是项目经理，现在委派任务给：" + target);
        this.target.coding();
    }

}
